package com.cloudbroker.bcs.platform.ltb.middle.dao;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.vo.ViewpointPublicManageQryForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.viewpoint.vo.ViewpointQueryForm;
import com.cloudbroker.bcs.platform.ltb.middle.entity.ViewpointMsg;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.ViewpointUserView;

import java.util.List;

/**
 * Created by world on 16/7/8.
 */
public interface ViewpointMsgDAO extends DAOBase<ViewpointMsg, String> {

    List<ViewpointMsg> queryByKeyWord(ViewpointQueryForm viewpointQueryForm);

    public int countByKeyWord(ViewpointQueryForm viewpointQueryForm);

    public long saveViewpoint(ViewpointMsg viewpointMsg);

    List<ViewpointUserView> queryByPublicManage(ViewpointPublicManageQryForm form);

    public int countByPublicManage (ViewpointPublicManageQryForm form);
}
